package com.newer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@ApiModel(value="com-newer-domain-ClientOrder")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_client_order")
public class ClientOrder {
    @TableId(value = "clientOrderId", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private String clientorderid;

    @TableField(value = "clientId")
    @ApiModelProperty(value="")
    private Integer clientid;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField(value = "clientDate")
    @ApiModelProperty(value="")
    private Date clientdate;

    @TableField(value = "deliveryType")
    @ApiModelProperty(value="")
    private String deliverytype;

    @TableField(value = "clientSumPrice")
    @ApiModelProperty(value="")
    private Double clientsumprice;

    @TableField(value = "clientSumCount")
    @ApiModelProperty(value="")
    private Integer clientsumcount;

    @TableField(value = "approver")
    @ApiModelProperty(value="")
    private String approver;

    @TableField(value = "clientRemark")
    @ApiModelProperty(value="")
    private String clientremark;

    @TableField(value = "clientState")
    @ApiModelProperty(value="")
    private String clientstate;
}